package com.neu.controller;

import java.util.List;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


import com.neu.entity.Fmeditem;
import com.neu.service.FmeditemService;
import com.neu.util.JsonResult;
import com.neu.util.ResultCode;




@RestController
@CrossOrigin
@RequestMapping("/his/fmeditem")
public class FmeditemController {
	@Autowired
	private FmeditemService fmeditemService;
//	添加非药品收费项目
	@PostMapping("/add_fmeditem")
	public JsonResult<Boolean> addFmeditem(@RequestBody Fmeditem fmeditem) {
		boolean save =  fmeditemService.addFmeditem(fmeditem);

			return new JsonResult<Boolean>();

	}
//	删除非药品收费项目
	@PostMapping("/delete_fmeditem")
	public JsonResult<Boolean> deleteFmeditem(int id) {


			return new JsonResult<Boolean>();
	}
//	批量删除非药品收费项目
	@PostMapping("/delete_fmeditem_more")
	public JsonResult<Boolean> delFmeditemByIds(@RequestBody Integer [] ids) {

			return new JsonResult<Boolean>();
	}
//	修改非药品收费项目
	@PostMapping("/update_fmeditem")
	public JsonResult<Boolean> updateFmeditem(@RequestBody Fmeditem fmeditem) {



			return new JsonResult<Boolean>();
		
	}
//  分页查询非药品收费项目
	@GetMapping("/get_fmeditem")
	public JsonResult<List<Fmeditem>> pageFmeditem(int page,int limit,String itemName,int recordType){

		return new JsonResult<List<Fmeditem>>();		
	}

	
	
}
